package cn.yqx.bankshop.user.service;

import cn.yqx.bankshop.user.service.fallback.OrderServiceFallbackFactory;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.HashMap;
import java.util.List;


@FeignClient(value="bankshop-order-service", fallback = OrderServiceFallbackFactory.class)
public interface OrderService {
    @GetMapping(value = "/api/v1/statistical/find_suppliers")
    List<HashMap<String,Object>> findSupplierById();
}
